class CreateFeedEntries < ActiveRecord::Migration
  def self.up
    create_table :feed_entries do |t|
       t.column :title, :string, :limit => 100
       t.column :link, :string, :limit => 300
       t.column :content, :string, :limit => 10000
#       t.column :item_id, :integer
       t.column :feed_url, :string, :limit => 300
       t.column :pub_date, :datetime
    end
  end

  def self.down
    drop_table :feed_entries
  end
end
